package com.atguigu.springcloud.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration//把这个类注解为配置类
public class FeignConfig {
    @Bean//注解类，表明当前类是一个配置类，是方法bean的源
    Logger.Level feignLoggerLevel(){
        return Logger.Level.FULL;
    }
}
